﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Savage.DotNetLibrary.BulkSmsLibrary
{
    public class SendSmsStatus
    {
        public SendSmsStatus(int statusCode, string description, int batchId)
        {
            _statusCode = statusCode;
            _description = description;
            _batchId = batchId;
        }

        public SendSmsStatus(int statusCode, string description)
        {
            _statusCode = statusCode;
            _description = description;
        }

        private int _statusCode;

        public int StatusCode
        {
            get { return _statusCode; }
        }

        private string _description;

        public string Description
        {
            get { return _description; }
        }

        private int? _batchId;

        public int? BatchId
        {
            get { return _batchId; }
        }

        public override string ToString()
        {
            return String.Format("{0}|{1}|{2}", BatchId, StatusCode, Description);
        }
    }
}
